home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / adaptor.zip / ADAPT.ZIP / adaptor / src / syscalls.c < prev    next >
C/C++ Source or Header  |  1993-03-22  |  535b  |  23 lines

  1. /* $Id: SysCallsSUN,v 1.1 90/07/04 14:34:12 grosch rel Locker: grosch $ */
  2.  
  3. /* $Log:    SysCallsSUN,v $
  4.  * Revision 1.1  90/07/04  14:34:12  grosch
  5.  * introduced conditional include
  6.  * 
  7.  * Revision 1.0  88/10/04  11:44:53  grosch
  8.  * Initial revision
  9.  * 
  10.  */
  11.  
  12. /* Ich, Doktor Josef Grosch, Informatiker, May 1988 */
  13.  
  14. extern char * sbrk ();
  15.  
  16. char * SysAlloc (ByteCount)
  17.    long ByteCount;
  18.  
  19.    /* Returns a pointer to dynamically allocated    */
  20.    /* space of size 'ByteCount' bytes.            */
  21.  
  22.    { return sbrk (ByteCount); }
  23.